<div ng-controller="DecoratePicUpload" >
<div class="ngdialog-message">

<form class="form-horizontal" method="get" action="#">
<style>
.col-sm-2 {padding-left: 0;}
.col-sm-1 {width: 9.333333%;}
</style>
<div class="panel-heading font-bold">
    装修评估申请信息上传
</div>
<div class="panel-body">

    <div class="col-sm-12">

    <div class="form-group">

        <label class="col-sm-1 control-label">装修额度申请</label>
        <div class="col-sm-4">
            <div class="input-group m-b">
                <input type="number" ng-model="params.expectAmount" class="form-control" ng-pattern="" ng-required="true" >
                <span class="input-group-addon">元</span>
            </div>
        </div>
    </div>

    <div ng-controller="ContractTimeCtrl">
        <div class="col-sm-4">
            <div class="form-group">
            <label class="col-sm-2 control-label">包租日期开始</label>
            <div class="col-sm-6">
                <div class="input-group w-md pull-left">
                  <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="contractStartDate" is-open="openContractBeginDated" datepicker-options="dateOptions" ng-required="true" close-text="关闭" clear-text="清除" current-text="今天" />
                  <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="openContractBeginDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                  </span>
                </div>
            </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="form-group">
            <label class="col-sm-2 control-label">包租日期结束</label>
            <div class="col-sm-6">
                <div class="input-group w-md pull-left">
                  <input type="text" class="form-control" datepicker-popup="{{format}}" ng-model="contractEndDate" is-open="openContractEndDated" datepicker-options="dateOptions" ng-required="true" close-text="关闭" clear-text="清除" current-text="今天" />
                  <span class="input-group-btn">
                    <button type="button" class="btn btn-default" ng-click="openContractEndDate($event)"><i class="glyphicon glyphicon-calendar"></i></button>
                  </span>
                </div>
            </div>
            </div>
        </div>
        <div class="col-sm-4">
            <div class="form-group">
                <label class="col-sm-2  control-label">图片模板：</label>
                <div class="col-sm-6">
                    <ui-select ng-model="picModel.selected" theme="bootstrap">
                        <ui-select-match>{{$select.selected.name}}</ui-select-match>
                        <ui-select-choices repeat="item in picModelList | filter: $select.search">
                            <div ng-bind-html="item.name | highlight: $select.search" ng-click="chooseModel($index,picModelList)"></div>
                        </ui-select-choices>
                    </ui-select>
                </div>
                <!-- <button class="btn-yellow" type="button" ng-click="addModelPics()">添加图片模板</button>
                <button class="btn-yellow" type="button" ng-click="editModelPics(templetId)" ng-if="editPicFlag">编辑图片模板</button> -->
            </div>
        </div>
    </div>
    
    <uploadimg></uploadimg>
</div>
<div class="ngdialog-buttons">
    <button type="button" class="ngdialog-button ngdialog-button-secondary" ng-click="closeThisDialog()">取消</button>
    <button type="button" class="ngdialog-button ngdialog-button-primary"  ng-click="makeSureConfirm()">确认</button>
</div>

</form>
